package com.etalk.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by huangcw on 2016/3/30.
 */
@Controller
public class PageController {

    @RequestMapping(value = "{page}")
    public ModelAndView getPage(@PathVariable String page){
        return  new ModelAndView(page);
    }
}
